<?php
namespace app\mobile\controller;
use app\mobile\common\Base;
use think\Db;
class Index extends Base
{
    public function index()
    {
        $data = $this->request->param();
        if(empty($data['sn'])){
            $data['sn']='';
            $this->redirect('/mobile/login');
        }
        $is_sn=is_sn($data['sn']);
        $this->assign('real_sn',$is_sn['sn']);
    	return $this->fetch();
    }
}
